import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/pages/HelloWorld'
import menuExample from '@/components/pages/menuExample'
import inputComponent from '@/components/pages/inputComponent'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
    	path: '/menu',
    	name: '组件示例',
    	component: menuExample
    },
    {
    	path: '/inputComponent',
    	name: 'input组件',
    	component: inputComponent
    }
  ]
})
